Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): check features before mangling CFLAGS #589

Open
wants to merge 1 commit into
base: aws-nslick/stack/29
Choose a base branch
from

Conversation

aws-nslick
Copy link
Contributor

@aws-nslick aws-nslick commented Sep 11, 2024

Stacked PRs:


fix(build): check features before mangling CFLAGS

Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

configure: Found .git directory. Adding -Werror to CFLAGS.
checking if running on EC2 instance... yes
checking if want AWS platform optimizations... yes
checking for Libfabric 1.18.0 or later... no
configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 12, 2024 00:17
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 12, 2024 00:18
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 12, 2024
Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

> configure: Found .git directory.  Adding -Werror to CFLAGS.
> checking if running on EC2 instance... yes
> checking if want AWS platform optimizations... yes
> checking for Libfabric 1.18.0 or later... no
> configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

stack-info: PR: aws#589, branch: aws-nslick/stack/31
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 12, 2024 00:56
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 12, 2024 00:58
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 12, 2024 01:09
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 12, 2024 01:10
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 12, 2024 01:51
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 12, 2024 01:52
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 13, 2024 17:49
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 13, 2024 17:50
rauteric
rauteric previously approved these changes Sep 13, 2024
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 14, 2024 22:36
@aws-nslick aws-nslick dismissed rauteric’s stale review September 14, 2024 22:36

The base branch was changed.

@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 14, 2024 22:38
Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

> configure: Found .git directory.  Adding -Werror to CFLAGS.
> checking if running on EC2 instance... yes
> checking if want AWS platform optimizations... yes
> checking for Libfabric 1.18.0 or later... no
> configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

stack-info: PR: #589, branch: aws-nslick/stack/31
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/29 to master September 17, 2024 20:25
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/29 September 17, 2024 20:26
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

> configure: Found .git directory.  Adding -Werror to CFLAGS.
> checking if running on EC2 instance... yes
> checking if want AWS platform optimizations... yes
> checking for Libfabric 1.18.0 or later... no
> configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

stack-info: PR: aws#589, branch: aws-nslick/stack/31
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

> configure: Found .git directory.  Adding -Werror to CFLAGS.
> checking if running on EC2 instance... yes
> checking if want AWS platform optimizations... yes
> checking for Libfabric 1.18.0 or later... no
> configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

stack-info: PR: aws#589, branch: aws-nslick/stack/31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants